/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package extension.game.zone;

import com.smartfoxserver.v2.util.IDisconnectionReason;

/**
 *
 * @author daz
 */
public class DisconnectReason implements IDisconnectionReason {

    public static byte LOGIN_ERROR = 10;
    private byte reason = 0;

    public DisconnectReason() {
        reason = 10;
    }

    @Override
    public int getValue() {
        return reason;
    }

    @Override
    public byte getByteValue() {
        return reason;
    }
}
